package com.dmw.vo.orderVO;

import java.io.Serializable;

/**
 * Output
 * 订单管理页面查询VO
 * 根据订单状态、订单创建时间、关键词(商品名称，订单号，商品编号模糊)
 */
public class OrderInfoOutVo implements Serializable {
    //订单IdOutput
    private Integer id;
    //订单编号Output
    private String orderNo;
    //商品名称Output
    private String itemName;
    //总价Output
    private Integer totalAmount;
    //订单类型(0:未支付 -1:支付超时/支付取消 2:已支付)Output
    private Integer orderType;
    //购买数量Output
    private Integer num;
    //商品单价Output
    private Integer unitPrice;
    //购买时间Output
    private String sellTime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public Integer getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(Integer totalAmount) {
        this.totalAmount = totalAmount;
    }

    public Integer getOrderType() {
        return orderType;
    }

    public void setOrderType(Integer orderType) {
        this.orderType = orderType;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Integer getUnitPrice() {
        return unitPrice;
    }

    public void setUnitPrice(Integer unitPrice) {
        this.unitPrice = unitPrice;
    }

    public String getSellTime() {
        return sellTime;
    }

    public void setSellTime(String sellTime) {
        this.sellTime = sellTime;
    }

    @Override
    public String toString() {
        return "OrderInfoOutVo{" +
                "id=" + id +
                ", orderNo='" + orderNo + '\'' +
                ", itemName='" + itemName + '\'' +
                ", totalAmount=" + totalAmount +
                ", orderType=" + orderType +
                ", num=" + num +
                ", unitPrice=" + unitPrice +
                ", sellTime='" + sellTime + '\'' +
                '}';
    }
}
